package com.tiancheng.trade.merchant.dto.requestdto;

import com.tiancheng.trade.merchant.enums.MerchantSettleRuleStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import jakarta.validation.constraints.NotBlank;

/**
 * 请求对象
 *
 * @author kellen
 * @date 2021/7/15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ToString(callSuper = true)
public class MerchantSettleRuleRequestDTO extends BasePageDTO {
    /**
     * 交易中台商户编码
     */
    @NotBlank(message = "交易中台商户编码不能为空")
    private String merchantCode;
    /**
     * 规则编码
     */
    private String ruleCode;
    /**
     * 规则状态：1=生效；2:作废
     *
     * @see MerchantSettleRuleStatusEnum
     */
    private Integer ruleStatus;
}
